<style scoped lang="scss">
.container {
  width: 100%;
  background-color: #f0f2f6;
  .header {
    image {
      width: 100%;
      height: 100px; // 固定高度，防止图片拉伸
    }
  }
  .content {
    width: 90%;
    margin: -120px auto; // 上移 content 以避开 header 图片
    padding: 20rpx;
    background: #ffffff;
    border-radius: 48rpx 48rpx 48rpx 48rpx;
    .user-info {
      display: flex;
      align-items: center;
      margin-top: 20px;

      .avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        margin-right: 10px;
      }

      .name {
        font-size: 18px;
        font-weight: bold;
      }

      .label {
        background-color: #ffc107;
        color: white;
        padding: 2px 5px;
        margin-left: 10px;
      }

      .phone {
        margin-top: 5px;
      }
    }

    .form-item {
      margin-top: 20px;
      display: flex;
      align-items: center;

      .label {
        color: red;
      }

      .title {
        margin-right: 10px;
      }

      input {
        flex: 1;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
      }
    }

    .submit-btn {
      width: 100%;
      height: 40px;
      background-color: #3f51b5;
      color: white;
      border: none;
      border-radius: 20px;
      margin-top: 30px;
    }
  }
}
</style>